[#440] 맥으로 Todo를 작성 혹은 수정 시 시트 대신 새 창이 뜨도록 수정한다#505
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
이번 풀이 리퀘스트는 Mac 환경(isiOSAppOnMac)에서 Todo 편집 및 생성을 위한 독립적인 멀티 윈도우 지원 기능(TodoEditorWindowView, TodoEditorWindowValue, TodoEditorWindowEvent 등)을 추가합니다. 리뷰어는 matchesCreate 메서드 내 패턴 매칭에서 매개변수 섀도잉으로 인해 source 필터링이 오동작하는 심각한 버그를 지적했으며, 독립 윈도우의 저장 책임을 화면(View)에 위임할 때 발생할 수 있는 데이터 유실 위험과 @observable을 일회성 이벤트 브로드캐스팅에 사용할 때의 메모리 유지 및 불필요한 트리거 문제를 개선 사항으로 제안했습니다.
|
❌ iOS CI build failed. No compiler-style error diagnostics were found in build.log. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 연관된 이슈
🎯 의도
Mac에서 Todo 작성 및 수정 시 기존 시트/풀스크린 커버가 아닌 별도 윈도우 기반 편집 경험 제공
📝 작업 내용
📌 요약
🔍 상세
ProcessInfo.processInfo.isiOSAppOnMac기반isiOSAppOnMac환경 값 추가TodoEditorWindowValue를 통해 작성/수정 윈도우에 필요한 값 전달TodoEditorWindowView에서 기존TodoEditorView를 재사용해 윈도우 전용 편집 화면 구성TodoEditorWindowEvent를 기본 WindowGroup과 TodoEditor WindowGroup에 주입해 내부 이벤트 전달HomeView,TodoListView,TodoDetailView에서 TodoEditorWindow 제출 이벤트를 수신해 기존 ViewModel action으로 위임📸 영상 / 이미지 (Optional)
Uploading 화면 기록 2026-06-01 오전 12.42.10.mov…